package cn.yudao.product.mapper;

import cn.yudao.pet.domain.Pet;
import cn.yudao.product.domain.Product;
import cn.yudao.basic.mapper.BaseMapper;
import cn.yudao.product.domain.ProductDetail;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yudao
 * @since 2022-07-21
 */
public interface ProductMapper extends BaseMapper<Product> {

    ProductDetail loadDetailByPetId(Long id);

    void rutchRom(Long[] ids);

    List<Product> loadOnSalePet(Long[] ids);

    void onSalePet(Long[] ids);

    void offSalePet(Long[] ids);
}
